Chapter 2 - Movie Controller Components
This chapter describes movie controller components. Movie controller components provide a high-level interface that allows your application to present movies to users quickly and easily. Movie controllers, the controls managed by movie controller components, present a user interface for playing and editing movies. Movie
controller components eliminate much of the complexity of working with movies by assuming primary responsibility for the movie, freeing your application to focus on the unique services it offers to users.This chapter has been divided into the following sections:
If you are developing an application that can play movies, you should consider using movie controller components to manage your movie user interface. They provide a consistent user interface that shields you from the details of using the Movie Toolbox. To learn about the capabilities of movie controllers, read "About Movie Controller Components." If your application allows the user to play movies, read "Spatial Properties." If you anticipate doing event management, read "Customizing Movie Controllers" beginning on page 2-13 and "Application-Defined Function" beginning on page 2-61 as well. All movie controller functions are described in "Movie Controller Components Reference"--you should read the portions that are relevant to
- "About Movie Controller Components" describes the capabilities of movie controller components in general and discusses the movie controller component supplied
by Apple.- "Spatial Properties" discusses the display regions that are supported by movie controller components--your application can manipulate these regions to control how the controller is displayed.
- "Using Movie Controller Components" provides sample code that shows you how to play, edit, and customize movies with movie controller components.
- "Movie Controller Components Reference" describes the functions provided to your application by movie controller components.
- "Summary of Movie Controller Components" provides a condensed listing of the constants, data structures, and functions supported by these components.
your application.If you are developing a movie controller component, the information in this chapter describes the interface that your component must support. In addition, you should be familiar with the material in the chapter "Component Manager" in Inside Macintosh: More Macintosh Toolbox, which describes how to build a component.
Chapter Contents
- About Movie Controller Components
- The Elements of a Movie Controller
- Badges
- Spatial Properties
- Using Movie Controller Components
- Playing Movies
- Customizing Movie Controllers
- Movie Controller Components Reference
- Movie Controller Actions
- Movie Controller Functions
- Associating Movies With Controllers
- Managing Controller Attributes
- Handling Movie Events
- Editing Movies
- Getting and Setting Movie Controller Time
- Customizing Event Processing
- Application-Defined Function
- Summary of Movie Controller Components
- C Summary
- Constants
- Data Types
- Movie Controller Functions
- Associating Movies With Controllers
- Managing Controller Attributes
- Handling Movie Events
- Editing Movies
- Getting and Setting Movie Controller Time
- Customizing Event Processing
- Application-Defined Function
- Pascal Summary
- Constants
- Data Types
- Movie Controller Routines
- Associating Movies With Controllers
- Managing Controller Attributes
- Handling Movie Events
- Editing Movies
- Getting and Setting Movie Controller Time
- Customizing Event Processing
- Application-Defined Routine
- Result Codes
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help